home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / suprabbs.zip / CLASS_1.TXT < prev    next >
Text File  |  1992-07-01  |  35KB  |  661 lines

  1.                    SUPRA TECHNICAL SUPPORT BULLETIN 
  2.                CLASS 1 FAX COMMANDS FOR SUPRA FAXMODEMS 
  3.                               6/19/92
  4.  
  5. Supra Corporation
  6. 7101 Supra Drive SW, Albany, OR  97321
  7. General (503) 967-2400 / Sales (503) 967-2410 / Fax (503) 967-2401
  8. Supra Tech Support  (503) 967-2440  8:00am - 5:00pm PST, M-F
  9.  
  10. Supra BBS........(503) 967-2444  24 Hours
  11. CompuServe.......76004,565
  12. BIX..............SupraCorp
  13. America Online...SupraCorp2
  14. GEnie............SupraTech
  15. AppleLink........D2456
  16. UseNet EMail.....supratech%supra.uucp@cs.orst.edu
  17.             .....supra!supratech@cs.orst.edu
  18.  
  19. SUPRA's DISCLAIMER:
  20.    The following information has been taken from Rockwell's RC144AC 
  21. manual. It has not been taken from the CCITT Class 1 documentation, 
  22. which is copyrighted by the CCITT.  This information is provided for 
  23. educational purposes only.  To fully understand this information 
  24. requires a through knowledge of the T.4 fax image and the T.30 fax 
  25. session protocol standards.  Due to the nature of this information, 
  26. Supra's engineers and technical support can not and will not provide any 
  27. help or support on this information.  We STRONGLY urge anyone attempting 
  28. to develop fax software to get the required documentation from Global 
  29. Engineering or the TIA.
  30.  
  31. SHORT HISTORY OF CLASS 1 AND 2
  32.   In 1988 the CCITT TR29.2 committee accepted the Class 1 standard for 
  33. communication between fax software and fax modems.  The committee also 
  34. voted on, but did not accept for various technical reasons, the Class 2 
  35. standard.  A year later, they had slightly revised the standard but 
  36. again did not accept it.  Software and hardware manufactures decided to 
  37. unofficially adopt this standard until the TR29.2 committee could 
  38. develop an acceptable standard.  Since so many companies have used the 
  39. unofficial standard, the TR29.2 committee has designated that when the 
  40. standard is officially adopted it will be known as Class 2.0.  Over the 
  41. last year or so, the TR29.2 committee has voted on several revisions to 
  42. the Class 2 standard.  Their last vote was early May '92.  A no vote for 
  43. technical reasons was entered.  The TR29.2 committee is now reviewing 
  44. the technical issues that were raised.  At this time, Supra has not 
  45. heard of a projected date for the next ballot.
  46.  
  47. WHAT IS THE DIFFERENCE BETWEEN CLASS 1 AND 2
  48.   Class 1 fax software handles all of the T.4 fax image and T.30 session 
  49. protocol information and timing.  Thus, the ability to communicate 
  50. properly with various fax machines is more a function of the software 
  51. than the fax modem.  Class 2 fax software generates a T.4  fax page 
  52. image and sends it to the fax modem a page at a time.  The fax modem 
  53. then handles the T.30 session protocol information and timing.  This 
  54. relieves the computer's cpu from some work.  The ability to communicate 
  55. properly with various fax machines is more a function of the fax modem 
  56. than the software.  However, to further complicate matters, class 2 fax 
  57. software can issue Class 1 commands and take over some of the duties of 
  58. the Class 2 fax modem.  
  59.  
  60.   When customers have a problem communicating correctly with a fax 
  61. machine/modem, it can be very difficult to determine which is at fault,
  62.  the software or the hardware.  Supra has collected numerous Class 1 and 
  63. 2 fax software for a variety of different computers.  When we receive a 
  64. report of a problem, we use these programs to determine if it is a 
  65. software or hardware problem.  If it is a hardware problem, we notify 
  66. Rockwell, otherwise we notify the software company.
  67.  
  68. BUG REPORTS
  69.   Supra is dedicated to making the best product for the best price.  If 
  70. you feel that you have found a bug, please fax or send a letter to the 
  71. attention of:
  72.  
  73.    SUPRA V32/BIS FAX BUG
  74.  
  75. Please fully describe the 'bug' (specific steps to generate it, phone 
  76. numbers to call, make and model of fax/modem, rev of our ROM (from I3 
  77. command) ), why you believe that it is a bug, what specific section of 
  78. Class 2 applies to this bug and how you would like the bug to be fixed.  
  79. Please remember that there are issues that have not been addressed or 
  80. settled by the TR29.2 committee in the Class 2 specifications. (i.e. how 
  81. the DCD and DTR lines are handled while in fax mode.)
  82.  
  83.  
  84. WHERE TO GET OFFICIAL FAX DOCUMENTATION
  85.  
  86.   Telecommunications Industry Association
  87.   1722 Eye St. NW
  88.   Suite 440
  89.   Washington, DC  20006
  90.  
  91. You need to ask for:
  92.  
  93.     Class 1 documentation - EIA/TIA-578
  94.     Class 2 documentation - Electronic Industries Association and 
  95. Telecommunications Industry Association TIA Project Number 2388, 
  96. Asynchronous Facsimile DCE Control Standard, Service Class 2, TR-29.2 
  97. Committee Letter Ballot
  98.  
  99.   Global Engineering Documents                     
  100.   2805 McGaw Ave
  101.   Irvin, CA  92713 
  102.   800-854-7179
  103.   714-261-1455
  104.   714-261-7892 (Fax)     
  105.  
  106. You need to ask for:
  107.  
  108.     EIA/TIA-578 - Class 1 documentation
  109.     EIA/TIA-592 - Class 2 documentation
  110.     CCITT v7.3  - T.1 - T.90 standards, includes T.4 & T.30
  111.  
  112. (The cost for the above docs will run close to $200.  But Global will 
  113. also update you on any changes or additions to those standards you 
  114. purchase.)
  115.  
  116. Global Engineering will not have the Class 2 documentation until approx. 
  117. a month after the TR29.2 committee accepts it.  Most of those companies 
  118. which have developed Class 2 fax software either sit on the TR29.2 
  119. committee or know someone who does.  It may be possible to receive the 
  120. documentation from the TIA if you present a credible proposal.  Supra 
  121. has no knowledge of what this proposal should consist of or who you need 
  122. to talk to.
  123.  
  124.  
  125. See also "CLASS 1 FAX COMMANDS FOR SUPRA FAXMODEMS" which is available
  126. on Supra BBS.
  127.  
  128.  
  129.  
  130. 6 FAX CLASS 1 OPERATION
  131.  
  132. 6.1  FAX I/O PROCESSING
  133.  
  134. The fax I/O interface supports asynchronous serial and parallel 
  135. interfaces.  The interface rate is 19200 bps.  Start and stop elements 
  136. are removed from the transmit data and added to the receive data.  Both 
  137. transmit and receive data is buffered.  Flow control using XON/XOFF 
  138. (DC1/DC3) or RTS/CTS is provided.
  139.  
  140. Unique control character strings are identified, filtered, or reinserted 
  141. into the I/O data stream.  These control characters and their resultant 
  142. action are described below.
  143.  
  144. 6.1.1 DTE TO MODEM TRANSMIT DATA STREAM
  145.  
  146. Characters Detected       Action taken
  147.  
  148. <DLE><data>               Delete <DLE><data> characters
  149.  
  150. <DLE><ETX>                Recognize as a string terminator, and take 
  151.                           appropriate action
  152.  
  153. <DLE><DLE>                Replace with single <DLE> character
  154.  
  155. 6.1.2 MODEM TO DTE RECEIVE DATA STREAM
  156.  
  157. Characters Detected     Action taken
  158.  
  159. <DLE>                   Insert extra <DLE> ahead of <DLE>
  160.  
  161. The modem also identifies the end of a frame by inserting <DLE><ETX> 
  162. into the data stream after the FCS bytes.
  163.  
  164. 6.1.3  FAX MODE SELECTION
  165.  
  166. Fax class 1 commands are identified in Table 6-1 and defined in Table 6-
  167. 2.  Fax modes and rates are determined by the AT+F commands as described 
  168. in Table 6-2.
  169.  
  170. 6.1.4  FAX ORIGINATION
  171.  
  172. Origination of fax calls is made using the ATD command.  Upon completion 
  173. of the dial function, a calling tone at 1100 Hz, with a cadence of 0.5 
  174. seconds ON, and 3 seconds off is transmitted.  The modem automatically 
  175. enters mode +FRH=3 and sends the CONNECT message to the DTE when FSK 
  176. flags are detected from the remote.
  177.  
  178. 6.1.5  FAX ANSWERING
  179.  
  180. Answering of fax calls is identical to answering of data calls with the 
  181. exception that the modem enters the fax handshaking mode instead of the 
  182. data handshaking mode after going off-hook.  If +FAE=0, the modem , 
  183. after sending answer tone, automatically enters fax mode (+FTH=3), sends 
  184. the CONNECT message to the DTE, and starts sending FSK flags.  If 
  185. +FAE=1, the modem determines if the caller is a data modem or fax modem 
  186. and sends the DATA or FAX result code, respectively, to the DTE.
  187.  
  188. Table 6-1.  Fax Class 1 Commands
  189.  
  190. -----------------------------------------------------------
  191. |   Command        Function                               |
  192. |---------------------------------------------------------|
  193. |   SERVICE CLASS ID                                      |
  194. |---------------------------------------------------------|
  195. |   +FCLASS=       Service Class                          |
  196. |---------------------------------------------------------|
  197. |   FAX CLASS 1 COMMANDS                                  |
  198. |---------------------------------------------------------|
  199. |   +FTS=n         Stop Transmission and Wait             |
  200. |   +FRS=n         Receive Silence                        |
  201. |   +FTM=n         Transmit Data                          |
  202. |   +FRM=n         Receive Data                           |
  203. |   +FTH=n         Transmit Data with HDLC Framing        |      
  204. |   +FRH=n         Receive Data with HDLC Framing         |
  205. |---------------------------------------------------------|
  206.  
  207.  
  208. 6.1.6  FAX CONTROL TRANSMISSION
  209.  
  210. Fax control transmission is initiated by the AT+FTH=n command.  After 
  211. this command is issued, the modem generates the CONNECT message and 
  212. transmits carrier in the modulation scheme specified by the parameter n.  
  213. The modem then transmits HDLC flags for a minimum of 1 second.  The 
  214. modem continues to transmit the HDLC flags until it receives a character 
  215. from the DTE.
  216.  
  217. When characters are received from the DTE, the modem adds start and end 
  218. flags, performs zero-bit insertion, generates FCS, and deletes 
  219. <DLE><chr> character pairs before transmitting the characters to the 
  220. remote fax machine.  Each <DLE><DLE> sequence is transmitted as a single 
  221. <DLE>.  <DLE><ETX> is considered as the end of frame marker and is not 
  222. transmitted.  All data received from the DTE afar <DLE><ETX> is ignored 
  223. by the modem until the modem generates either the CONNECT, OK, or ERROR 
  224. result code.
  225.  
  226. If no more data is in the transmit buffer and the final bit was a 1 (bit 
  227. 4 of the second byte received from the DTE), the modem generates the OK 
  228. result code and returns to the command mode.  If the final bit was a 0, 
  229. the modem generates the CONNECT message and waits for further data from 
  230. the DTE while transmitting HDLC flags.  If no more data is received 
  231. before 5 seconds elapse, the modem drops carrier, goes on-hook, and 
  232. generates the ERROR result code.
  233.  
  234. 6.1.7  FAX CONTROL RECEPTION
  235.  
  236. Fax control reception is initiated using the AT+FRH=n command.  After 
  237. this command is issued, the modem looks for carrier in the modulation 
  238. scheme specified by the parameter n.  If no carrier is detected before 
  239. the period of time specified by register S7 expires, the modem generates 
  240. the NO CARRIER message and returns to command mode.  If carrier is 
  241. detected that is not the one specified by the parameter n, the modem 
  242. generates the +FCERROR message and returns to the command mode.  If the 
  243. specified carrier is detected, the modem generates the CONNECT message 
  244. and enters the HDLC receive mode.
  245.  
  246. In HDLC receive mode, the modem receives HDLC frames from the remote fax 
  247. machine, strips the flags, performs zero-bit deletion, performs error 
  248. checking, and handles <DLE><chr> character pairs before passing the data 
  249. to the DTE.  The modem prefixes each <DLE> character with another <DLE> 
  250. character before sending it to the DTE.  After the last byte in the 
  251. frame, the modem sends <DLE><ETX> to the DTE marking the end of the 
  252. frame.  The modem then generates either the OK message if errors were 
  253. detected (FCS is incorrect), and returns to command mode.
  254.  
  255. While in command mode, the modem continues to receive data in the 
  256. selected modulation scheme, and sends the data after sending the CONNECT 
  257. message to the DTE when the DTE reissues the +FRH command with the same 
  258. parameter.  If the DTE issues the +FRH command with a different 
  259. parameter, the modem clears all buffers and proceeds as described 
  260. previously.
  261.  
  262. If carrier is lost while in command mode and the DTE reissues the +FRH 
  263. command with the same parameter, and there is no data in the buffer, the 
  264. modem sends the ERROR result code to the DTE and returns to the command 
  265. mode.  If there is data in the buffer, the modem sends the next frame of 
  266. buffered data to the DTE, followed by <DLE><ETX>, and either the ERROR 
  267. result code if errors were detected or the OK result code if no errors 
  268. were detected.  The modem then returns to command mode.
  269.  
  270. The modem concludes an error is detected if the carrier is lost for any 
  271. period of time during or before the reception of a frame.  If carrier is 
  272. lost for a time period longer than the time specified by the register 
  273. S10, the modem finishes delivering the data in the receive buffer (if 
  274. any) to the DTE, sends <DLE><ETX>, generates the ERROR message, and 
  275. returns to command mode.  All subsequent data received from the remote 
  276. is discarded.
  277.  
  278. If the modem detects a frame abort sequence (seven consecutive ones with 
  279. no zero insertion) while it is waiting for a frame beginning flag (it 
  280. was receiving HDLC flags), it will wait for the HDLC flags again until 
  281. either carrier is lost, or the DTE aborts the process by sending an 
  282. abort character or by dropping DTR with &D2 in effect.  If the frame 
  283. abort sequence is detected while the modem is receiving a frame it 
  284. finishes delivering the data in the receive buffer (if any) to the DTE, 
  285. sends <DLE><ETX>, generates the ERROR message, and returns to command 
  286. mode.  The modem keeps looking for HDLC flags followed by more data from 
  287. the remote, with the selected modulation scheme.
  288.  
  289. If the modem detects a receive buffer overflow condition, it concludes 
  290. that there was a FCS error in that frame.  The modem will receive more 
  291. frames only if a starting flag is detected and there is room in the 
  292. receive buffer.  If a starting flag is detected and there is no room in 
  293. the buffer, the modem discards all data in that frame.
  294.  
  295. If the modem receives any character from the DTE after the +FRH command 
  296. (except flow control characters if software flow control is in effect), 
  297. or if the modem detects a high-to-low transition of the DTR signal while 
  298. &D1 is in effect, it sends <DLE><ETX> to the DTE, generates OK result 
  299. code, and returns to command mode.  The receive buffer is cleared and 
  300. all data received from the remote is discarded.  If the modem detects a 
  301. DTR drops while &D2 is in effect, it goes on-hook, sends <DLE><ETX> to 
  302. the DTE, generates OK result code, and returns to command mode.  If the 
  303. modem detects a DTR drop while &D3 is in effect, the modem performs a 
  304. warm reset.
  305.  
  306. 6.1.8  FAX DATA TRANSMISSION
  307.  
  308. Fax Data transmission is initiated by the AT+FTM=n command.  After this command is issued, the modem generates the CONNECT message and transmits carrier in the modulation scheme specified by the parameter n.  The 
  309. modem then transmits constant 1 bits for a minimum of one second and 
  310. continues to transmit constant 1 bits until it receives a character from 
  311. the DTE.
  312.  
  313. When data is received from the DTE, the modem deletes start and stop 
  314. bits and deletes all <DLE><chr> character pairs before transmitting the 
  315. data to the remote.  Each <DLE><DLE> sequence is transmitted as a single 
  316. <DLE>.  <DLE><ETX> is considered as the end of stream marker, and is not 
  317. transmitted.  All data received from the DTE after the <DLE><ETX> is 
  318. ignored by the modem until the modem generates either the CONNECT, OK or 
  319. ERROR result code.
  320.  
  321. If no more data is in the transmit buffer, and the last transmitted 
  322. character was not an ASCII NULL, the modem generates the OK result code 
  323. and returns to the command  mode.  If the last character transmitted was 
  324. an ASCII NULL, the modem generates the CONNECT message to the DTE and 
  325. waits for further data from the DTE while transmitting NULLs to the 
  326. remote.  If more data is received before five seconds, elapse, the modem 
  327. continues to transmit the data as described in the previous paragraph.  
  328. If five seconds elapse and no data is received from the DTE, the modem 
  329. drops carrier, goes on-hook, and generates the ERROR result code.
  330.  
  331. 6.1.9  FAX DATA RECEPTION
  332.  
  333. Fax data reception is initiated using the AT+FRM=n command.  After this 
  334. command is issued, the modem looks for carrier in the modulation scheme 
  335. specified by the parameter n. If no carrier is detected before the 
  336. period of time specified by register S7 expires, the modem generates the 
  337. NO CARRIER message and returns to command mode.  If carrier is detected 
  338. that is not the one specified by the parameter n, the modem generates 
  339. the +FCERROR message and returns to the command mode.  If the specified 
  340. carrier is detected, the modem generates the CONNECT message and enters 
  341. the data receive mode.
  342.  
  343. While in data receive mode, the modem receives data from the remote, 
  344. adds start and stop bits, and handles <DLE><chr> character pairs before 
  345. passing the data to the DTE.  The modem prefixes each <DLE> character 
  346. with another <DLE> character before sending it to the DTE.
  347.  
  348. If carrier is lost for a time period longer than the time specified by 
  349. the register S10, the modem finishes delivering the data in the receive 
  350. buffer (if any) to the DTE, sends <DLE><ETX>, generates the NO CARRIER 
  351. result code, and returns to the command mode.  All subsequent data 
  352. received from the remote is discarded.
  353.  
  354. If the modem detects a receive buffer overflow condition, it stops 
  355. receiving from the remote until there is room in the receive buffer.  
  356. The modem informs the DTE of the buffer overflow after it sends to the 
  357. DTE the last character that was stored in the buffer before the overflow 
  358. occurred.  
  359.  
  360. If the modem receives any character from the DTE after the +FRM command 
  361. (except flow control characters if software flow control is in effect), 
  362. or if the modem detects a high-to-low transition of the DTR signal while 
  363. &D1 is in effect, it sends <DLE><ETX> to the DTE, generates the OK 
  364. result code, and returns to command mode.  The receive buffer is cleared 
  365. and all data received from the remote is discarded.  If loss of DTR is 
  366. detected while &D2 is in effect, the modem goes on-hook, sends 
  367. <DLE><ETX> followed by OK result code to the DTE, and returns to command 
  368. mode.  If the modem detects a DTR drop while &D3 is in effect, the modem 
  369. performs a warm reset.
  370.  
  371. 6.2  EXAMPLES
  372.  
  373. Examples of calling (transmitting) and answering (receiving) one page 
  374. use fax class 1 commands are shown in Tables 6-3 and 6-4, respectively.
  375.  
  376. Table 6-2.  Fax Class 1 Command Definitions
  377.  
  378. Command         Description
  379.  
  380. +FCLASS=n     Select service class.  +FCLASS=n command set the active 
  381.                 service class
  382.                 Parameters: 0-2
  383.                   Default: 0
  384.                 Command options:
  385.                   +FCLASS=0    Select Data Mode
  386.                   +FCLASS=1    Select Facsimile class 1
  387.                   +FCLASS=2    Select Facsimile class 2
  388.  
  389. +F<command>?  Report Active Configuration.  +F<command>? interrogates 
  390.               the modem to determine the active configuration.  Typical 
  391.               responses are:
  392.                 +FAE?     0 if autoanswer is disabled, 1 if auto answer 
  393.                           enabled.
  394.                 +FCLASS?  0 if in data mode; 1 if in fax class 1; 2 if 
  395.                           in fax class 2
  396.  
  397. +F<command>=?  Report Operating Capabilities.  +F<command>=? can be used 
  398.                to determine the operating capabilities of the modem.
  399.                Typical responses are:
  400.                  +FAE=?    0,1
  401.                  +FCLASS=? 0,1,2
  402.                  +FTM=?    3,24,48,72,96 (RC96AC)
  403.                  +FRM=?    3,24,48,72,96 (RC96AC)
  404.                  +FTM=?    3,24,48,72,73,74,96,97,98,121,122,145,146 
  405.                            (RC144AC)
  406.                  +FRM=?    3,24,48,72,73,74,96,97,98,121,122,145,146 
  407.                            (RC144AC)
  408.  
  409. +FAEn          Data/Fax Auto Answer.  +FAEn allows the DTE to either 
  410.                restrict answering to class 1, or to automatically detect 
  411.                whether the calling station is a fax class 1 modem or 
  412.                data modem,, and answer accordingly.
  413.  
  414.                Parameters: 0,1
  415.                    Default:0
  416.                Command options:
  417.                    n=0      Disable data/fax auto answer mode (default). 
  418.                             The modem answers as a fax modem only
  419.                    n=1      Enable data/fax auto answer mode.  The modem 
  420.                             answers as a fax or data modem
  421.  
  422. +FTS=n         Stop Transmission and Wait.  +FTS=n causes the modem to 
  423.                terminate a transmission and wait for n 10 millisecond 
  424.                intervals before responding with the OK result code.  An 
  425.                ERROR response code results if this command is issued 
  426.                while the modem is on-hook.
  427.  
  428. +FRS=n         Receive Silence.  +FRS=n causes the modem to report back 
  429.                to the DTE with an OK result code after n millisecond 
  430.                intervals of silence have been detected on the line.  
  431.                This command is aborted if any character is received from 
  432.                the DTE.  The modem discards the aborting character and 
  433.                issues an OK result code.  An ERROR response code results 
  434.                if this command is issued while the mode is on-hook.
  435.  
  436. +FTM=n        Transmit Data.  +FTM=n causes the modem to transmit data 
  437.               using the modulation defined below.  An ERROR response 
  438.               code results if this command is issued while the modem is 
  439.               on-hook.
  440.  
  441.               Parameters:
  442.  
  443.               Command options:
  444.  
  445.                  +FTM=3     v.21 ch 2 300 bps
  446.                  +FTM=24    v.27 ter 2400 bps
  447.                  +FTM=48    v.27 ter 4800 bps
  448.                  +FTM=72    v.29 7200 bps
  449.                  +FTM=96    v.29 9600 bps
  450.                  +FTM=73    v.17 7200 bps long
  451.                  +FTM=74    v.17 7200 bps short
  452.                  +FTM=96    v.29 9600 bps
  453.                  +FTM=97    v.17 9600 bps long
  454.                  +FTM=98    v.17 9600 bps short
  455.                  +FTM=121   v.17 12000 bps long
  456.                  +FTM=122   v.17 12000 bps short
  457.                  +FTM=145   v.17 14400 bps long
  458.                  +FTM=146   v.17 14400 bps short
  459.  
  460. +FRM=n       Receive Data.  +FRM=n causes the modem to enter the 
  461.              receiver mode using the modulation defined below.  An ERROR 
  462.              response code results if this command is issued while the 
  463.              modem is on-hook.
  464.  
  465.              Parameters:  See Command options
  466.  
  467.               Command options:
  468.  
  469.                  +FTM=3     v.21 ch 2 300 bps
  470.                  +FTM=24    v.27 ter 2400 bps
  471.                  +FTM=48    v.27 ter 4800 bps
  472.                  +FTM=72    v.29 7200 bps
  473.                  +FTM=96    v.29 9600 bps
  474.                  +FTM=73    v.17 7200 bps long
  475.                  +FTM=74    v.17 7200 bps short
  476.                  +FTM=96    v.29 9600 bps
  477.                  +FTM=97    v.17 9600 bps long
  478.                  +FTM=98    v.17 9600 bps short
  479.                  +FTM=121   v.17 12000 bps long
  480.                  +FTM=122   v.17 12000 bps short
  481.                  +FTM=145   v.17 14400 bps long
  482.                  +FTM=146   v.17 14400 bps short
  483.  
  484. +FTH=n       Transmit data with HDLC Framing.  +FTH=n causes the modem 
  485.              to transmit data using HDLC protocol and the modulation 
  486.              defined below.  An ERROR response code results if this 
  487.              command is issued while the modem is on-hook.
  488.  
  489.              Parameters:  See Command options
  490.  
  491.               Command options:
  492.  
  493.                  +FTM=3     v.21 ch 2 300 bps
  494.                  +FTM=24    v.27 ter 2400 bps
  495.                  +FTM=48    v.27 ter 4800 bps
  496.                  +FTM=72    v.29 7200 bps
  497.                  +FTM=96    v.29 9600 bps
  498.                  +FTM=73    v.17 7200 bps long
  499.                  +FTM=74    v.17 7200 bps short
  500.                  +FTM=96    v.29 9600 bps
  501.                  +FTM=97    v.17 9600 bps long
  502.                  +FTM=98    v.17 9600 bps short
  503.                  +FTM=121   v.17 12000 bps long
  504.                  +FTM=122   v.17 12000 bps short
  505.                  +FTM=145   v.17 14400 bps long
  506.                  +FTM=146   v.17 14400 bps short
  507.  
  508. +FRH=n     Receive data with HDLC Framing.  +FRH=n causes the modem to 
  509.            receive frames using HDLC protocol and the modulation defined 
  510.            below.  An ERROR response code results if this command is 
  511.            issued while the modem is on-hook.
  512.  
  513.            Parameters:  See Command options
  514.  
  515.               Command options:
  516.  
  517.                  +FTM=3     v.21 ch 2 300 bps
  518.                  +FTM=24    v.27 ter 2400 bps
  519.                  +FTM=48    v.27 ter 4800 bps
  520.                  +FTM=72    v.29 7200 bps
  521.                  +FTM=96    v.29 9600 bps
  522.                  +FTM=73    v.17 7200 bps long
  523.                  +FTM=74    v.17 7200 bps short
  524.                  +FTM=96    v.29 9600 bps
  525.                  +FTM=97    v.17 9600 bps long
  526.                  +FTM=98    v.17 9600 bps short
  527.                  +FTM=121   v.17 12000 bps long
  528.                  +FTM=122   v.17 12000 bps short
  529.                  +FTM=145   v.17 14400 bps long
  530.                  +FTM=146   v.17 14400 bps short
  531.  
  532. Table 6-3  Fax Class 1 Calling Sequence (One Page)
  533.  
  534. |----------------------------------------------------------------------|
  535. | DTE Commands | DCE Responses    | Remote Fax      |     Notes        |
  536. |--------------|------------------|-----------------|------------------|
  537. | AT+FCLASS=1  | OK               |                 | Set to Class 1   |
  538. |----------------------------------------------------------------------|
  539. |                         PHASE A                                      |
  540. |----------------------------------------------------------------------|
  541. | ATDTx        | dials            | answers         | +FRH=3 implied by| 
  542. |              |                  |                 | dialing          |
  543. |              | CONNECT          | Send HDLC flags |                  |
  544. |----------------------------------------------------------------------|
  545. |                         PHASE B                                      |
  546. |----------------------------------------------------------------------|
  547. |              |                  | Send NSF frame  |                  |
  548. |              | <NSF>,OK         |                 |                  |
  549. | AT+FRH=3     | CONNECT          |                 |                  |
  550. |              |                  | Send CSI frame  |                  |
  551. |              | <CSI>,OK         |                 |                  |
  552. | AT+FRH=3     | CONNECT          |                 |                  |
  553. |              |                  | Send DIS frame  | Last frame bit=1 |
  554. |              | <DIS>,OK         | drop carrier    |                  |
  555. | AT+FTH=3     | Send HDLC flags  | receive flags   |                  |
  556. |              | CONNECT          |                 |                  |
  557. | <TSI>        | Send TSI frame   | Receive TSI     | Last frame bit=0 |
  558. |              | CONNECT          |                 |                  |
  559. | <DCS>        | Send DCS frame   | Recieve DCS     | Last frame bit=1 |
  560. |              | detect last frame|                 |                  |
  561. |              | bit              |                 |                  |
  562. |              | <OK>,drop carrier|                 |                  |
  563. | AT+FTS=8     | <OK>,wait 80ms   |                 |                  |
  564. | AT+FTM=96    | send v.29        |                 |                  |
  565. |              | CONNECT          |                 |                  |
  566. | <TCF>        | Send TCF data    | Receive & check |                  |
  567. | AT+FRH=3     | CONNECT          |                 |                  |
  568. |              | Send CFR frame   |                 | Last frame bit=1 |
  569. | <CFR>,OK     | drop carrier     |                 |                  |
  570. |              | OK               |                 |                  |
  571. |----------------------------------------------------------------------|
  572. |                        PHASE C                                       |
  573. |----------------------------------------------------------------------|
  574. | AT+FTM=96    | send v.29        |                 |                  |
  575. |              | CONNECT          |                 |                  |
  576. | age data     | send page data   | receive data    |                  |
  577. |              | OK               |                 |                  |
  578. | AT+FTH=3     | send HDLC flags  | receive flags   |                  |
  579. |              | CONNECT          |                 |                  |
  580. |----------------------------------------------------------------------|
  581. |                        PHASE D                                       |
  582. |----------------------------------------------------------------------|
  583. | <EOP>        | send EOP frame   | receive EOP     | Last frame bit=1 |
  584. |              | OK,drop carrier  |                 |                  |
  585. | AT+FRH=3     | CONNECT          |                 |                  |
  586. |              |                  | send MCF frame  | Last frame bit=1 |
  587. |              | <MCF>,OK         |                 |                  |
  588. | AT+FTH=3     | send HDLC flags  | receive flags   |                  |
  589. |              | CONNECT          |                 |                  |
  590. | <DCN>        | send DCN frame   | receive DCN     | Last frame bit=1 |
  591. |              | OK,drop carrier  |                 |                  |
  592. |----------------------------------------------------------------------|
  593. |                        PHASE E                                       |
  594. |----------------------------------------------------------------------|
  595. | ATH0         | OK,hang up       | hang up         |                  |
  596. |----------------------------------------------------------------------|
  597.  
  598. Table 6-4  Fax Class 1 Answering Sequence (One Page)
  599.  
  600. |----------------------------------------------------------------------|
  601. | DTE Commands | DCE Responses    | Remote Fax      |     Notes        |
  602. |--------------|------------------|-----------------|------------------|
  603. | AT+FCLASS=1  | OK               |                 |                  |
  604. |----------------------------------------------------------------------|
  605. |                        PHASE A                                       |
  606. |----------------------------------------------------------------------|
  607. |              |                  | Fax machine dial|                  |
  608. |              | RING             |                 |                  |
  609. | ATA          | modem answers    |                 |                  |
  610. |              | send HDLC flags  | receive flags   | +FTH=3 implied by|
  611. |              |                  |                 | answering        |
  612. |              | CONNECT          |                 |                  |
  613. |----------------------------------------------------------------------|
  614. |                        PHASE B                                       |
  615. |----------------------------------------------------------------------|
  616. | <NSF>        | send NSF frame   | receive NSF     | last frame bit=0 |
  617. |              | CONNECT          |                 |                  |
  618. | <CSI>        | send CSI frame   | receive CSI     | last frame bit=0 |
  619. |              | CONNECT          |                 |                  |
  620. | <DSI>        | send DSI frame   | receive DSI     | last frame bit=1 |
  621. |              | OK, drop carrier |                 |                  |
  622. | AT+FRH=3     | CONNECT          |                 |                  |
  623. |              |                  | send TSI frame  | last frame bit=0 |
  624. |              | <TSI>,OK         |                 |                  |
  625. | AT+FRH=3     | CONNECT          |                 |                  |
  626. |              |                  | send DCS frame  | last frame bit=1 |
  627. |              | <DCS>,OK         | drop carrier    |                  |
  628. | AT+FRM=96    |                  |                 |                  |
  629. |              |                  | send v.29       |                  |
  630. |              | CONNECT          | send TCF frame  |                  |
  631. |              | <TCF>            | drop carrier    |                  |
  632. |              | NO CARRIER       |                 |                  |
  633. | AT+FTH=3     | CONNECT          |                 |                  |
  634. | <CFR>        | send CFR frame   | receive CFR     | last frame bit=1 |
  635. |              | OK,drop carrier  |                 |                  |
  636. |----------------------------------------------------------------------|
  637. |                        PHASE C                                       |
  638. |----------------------------------------------------------------------|
  639. | AT+FRM=96    |                  |                 |                  |
  640. |              |                  | send page data  |                  |
  641. |              | <page data>      | drop carrier    |                  |
  642. |              | NO CARRIER       |                 |                  |
  643. |----------------------------------------------------------------------|
  644. |                        PHASE D                                       |
  645. |----------------------------------------------------------------------|
  646. | AT+FRH=3     | CONNECT          |                 |                  |
  647. |              |                  | send EOP frame  | last frame bit=1 |
  648. |              | <EOP>,OK         |                 |                  |
  649. | AT+FTH=3     | CONNECT          |                 |                  |
  650. | <MCF>        | send MCF frame   | receive MCF     | last frame bit=1 |
  651. |              | OK,drop carrier  |                 |                  |
  652. | AT+FRH=3     | CONNECT          |                 |                  |
  653. |              |                  | send DCN frame  | last frame bit=1 |
  654. |              | <DCN>,OK         |                 |                  |
  655. |----------------------------------------------------------------------|
  656. |                        PHASE E                                       |
  657. |----------------------------------------------------------------------|
  658. | ATH0         | OK,hang up       | hang up         |                  |
  659. |----------------------------------------------------------------------|
  660.  
  661.